using TestCases.CompareAssert.Core.Comparers;
using TestCases.CompareAssert.Interfaces;
using TestCases.CompareAssert.Settings.Interfaces;

namespace TestCases.CompareAssert
{
    public class DefaultAssertion: IDefaultAssertion
    {
        private readonly ICompareAssertion _compareAssertion;
        public DefaultAssertion(IAssertionOptions options)
        {
            _compareAssertion = new CompareAssertion(options, DefaultComparer.Instance);
        }
        
        public DefaultAssertion()
        {
            _compareAssertion = new CompareAssertion(DefaultComparer.Instance);
        }

        public ICompareAssertion That
        {
            get { return _compareAssertion; }
        }
    }
}